package com.atguigu.lease;

import com.atguigu.lease.model.entity.ApartmentInfo;
import com.atguigu.lease.web.admin.service.impl.ApartmentInfoServiceImpl;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * ClassName: AdminWebApplication
 * Package: com.atguigu.lease
 * Description:
 *
 * @Author: tiantian
 * @Create: 2024/9/28 - 18:18
 * @Version: v1.0
 */
@SpringBootApplication
//springboot提供了对定时任务的支持，但需要添加一个注解@EnableScheduling
@EnableScheduling
public class AdminWebApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminWebApplication.class, args);
    }
}
